package cn.liuyang.tinyioc.beans.io;

import java.net.URL;

public class ResourceLoader {

    public Resource getResource(String locaction) {
        URL url = this.getClass().getClassLoader().getResource(locaction);
        return new UrlResource(url);
    }
}
